package com.zszedu.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component //实例化
@ConfigurationProperties(prefix = "jdwx.sms") //从配置文件中获取对应的属性并且赋值
@Data //给该类自动创建set/git 方法
public class JDWXSMSConfig {
    private String accessKeyId;
    private String accessKeySecret;
}
